package com.accenture.adf.newcodington.module10.sample;

/**
 * Topic: Inheritance
 * 
 * Instructions:
 * 
 * 	The Employee class is to be created and updated in the participant folder by the 
 * 	faculty during See It tasks for the module.
 * 	This class is a solution for the task
 *
 */
public class Employee {

	// declaring Employee class attributes to store Employee details
	private int id;
	private String ename;
	private String email;
	private int vacationDays;
	
	// declaring a final variable to store company name of the employee
	final String companyName="Accenture";
	
	
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}


	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}


	/**
	 * @return the ename
	 */
	public String getEname() {
		return ename;
	}


	/**
	 * @param ename the ename to set
	 */
	public void setEname(String ename) {
		this.ename = ename;
	}


	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}


	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}


	/**
	 * @return the vacationDays
	 */
	public int getVacationDays() {
		return vacationDays;
	}


	/**
	 * @param vacationDays the vacationDays to set
	 */
	public void setVacationDays(int vacationDays) {
		this.vacationDays = vacationDays;
	}


	// method to print the Employee Details
	public void printDetails()
	{
		System.out.println("Id : "+getId());
		System.out.println("Name :"+getEname());
		System.out.println("Email :"+getEmail());
		System.out.println("Vacation Days :"+getVacationDays());
	}
}
